<?php
require_once'../Common/database.php';
require_once'../Common/values.php';
$recycled='Recycled on '.$date;
$query="UPDATE tblInventory SET Status='$recycled' WHERE `key`='$_POST[key]'";
mysql_query($query);

echo '<h3>Changed status of '.$_POST[key].' to '.$recycled.'</h3><p><center><a href="../index.php?p=irecycle">Back';
?>
